#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main()
{
    printf("%d\n",getpid());
    int num=500;
    while(num--)
    {
        printf("%d  %d\n",num,getpid());
        sleep(1);
    }
    return 0;
}
